package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Test;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.query.TestQueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface ITestService {
    void deleteByPrimaryKey(Long id);

    void insert(Test entity);

    Test selectByPrimaryKey(Long id);

    List<Test> selectAll();

    void updateByPrimaryKey(Test entity);

    PageResult query(QueryObject qo);

    void changState(Long id);

    Workbook exportXls(TestQueryObject qo);
}
